/**
 * 配置编译环境和线上环境的切换
 * 
 * baseUrl: 域名地址
 * routerMode: 路由模式
 * baseImgPath: 图片存放地址
 */

//  let baseUrl = '';
//  let routerMode = 'hash';
//  let baseImgPath

let baseUrl = '';
let routerMode = 'hash';
let baseImgPath;

 if(process.env.NODE_ENV == 'development'){
     baseImgPath = '//elm.cangdu.org/img/'
     baseUrl = '//elm.cangdu.org';
 } else {
     baseImgPath = '/img/'
 }

 export {
     baseUrl,
     baseImgPath,
     routerMode
 }

